package com.yao.component.circle.dataobject;

import com.hzl.UserInfoBean;
import com.yzf.bean.GroupBean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 对应朋友圈刷新的每个动态对象
 */
public class Post implements Serializable{

    public static final int CODE_PUBLIC = 0; // 公开
    public static final int CODE_PRIVATE = 1; // 私密
    public static final int CODE_GROUP_VISIBLE = 2; //部分可见
    public static final int CODE_GROUP_INVISIBLE = 3; // 不给谁看

    // 在数据源里的索引, 从0算起
    private int index;

    private String id;

    private int codeType;

    private String iconUrl;
    // 用户唯一标示信息,区分该动态属于哪个用户的
    private String userId;
    // 发帖人姓名
    private String posterName;
    // 班级名称
    private String className;
    // 动态文本内容
    private String content;

    // 该动态用户是否被当前用户点赞过
    private boolean isPraised;
    // 定位地址
    private String address;

    private String createTime;
    // 标签分组信息
    private ArrayList<GroupBean> groupList;

    private ArrayList<String> circlePhoto;
    //提醒谁看
    private ArrayList<UserInfoBean> remindList;

    public String getPosterName() {
        return posterName;
    }

    public void setPosterName(String posterName) {
        this.posterName = posterName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public ArrayList<String> getCirclePhoto() {
        return circlePhoto;
    }

    public void setCirclePhoto(ArrayList<String> circlePhoto) {
        this.circlePhoto = circlePhoto;
    }

    private ArrayList<Message> messageList = new ArrayList();

    private ArrayList<String> like_list = new ArrayList<String>();

    public ArrayList<String> getLike_list() {
        return like_list;
    }

    public void setLike_list(ArrayList<String> like_list) {
        this.like_list = like_list;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public List<Message> getMessageList() {
        return messageList;
    }

    public void setMessageList(ArrayList<Message> messageList) {
        this.messageList = messageList;
    }

    public String getUserId() {
        return userId;
    }


    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isPraised() {
        return isPraised;
    }

    public void setPraised(boolean isPraised) {
        this.isPraised = isPraised;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getAddress() {
        return address;
    }

    public ArrayList<GroupBean> getGroupList() {
        return groupList;
    }

    public void setGroupList(ArrayList<GroupBean> groupList) {
        this.groupList = groupList;
    }

    public int getCodeType() {
        return codeType;
    }

    public void setCodeType(int codeType) {
        this.codeType = codeType;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public ArrayList<UserInfoBean> getRemindList() {
        return remindList;
    }

    public void setRemindList(ArrayList<UserInfoBean> remindList) {
        this.remindList = remindList;
    }


}
